﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BonsaiScrum.Bus;

namespace BonsaiScrum.Core.Command
{
    /// <summary>
    /// This is an immutable message object that contains a command to create a new story.
    /// </summary>
    public class CreateNewStory : ICommand
    {
        public string Description { get; private set; }
        public int ProjectId { get; private set; }
        public int ScrumMasterId { get; private set; }

        // Constructor
        public CreateNewStory(string description, int projectId, int scrumMasterId)
        {
            Description = description;
            ProjectId = projectId;
            ScrumMasterId = scrumMasterId;
        }
    }
}
